class CN_UTF8:
    """docstring for CN_UTF8"""
    #key:values
    #key: 使用汉字的UTF-8码
    #values: 16*16
    #   [0] 8*16 上半部分
    #   [1] 8*16 下半部分
    UTF8_CHINESE = {
        0xe5b8a6:[
                    [0x00,0xC4,0x44,0x44,0x5F,0x44,0x44,0xDF,0x44,0x44,0x5F,0x44,0x44,0x44,0xC0,0x00],
                    [0x01,0x00,0x00,0x3E,0x02,0x02,0x02,0xFF,0x02,0x12,0x22,0x1E,0x00,0x01,0x00,0x00]
                ],#带
        0xe5b9b3:[
                    [0x00,0x02,0x02,0x12,0x62,0x02,0x02,0xFE,0x02,0x02,0x42,0x32,0x02,0x02,0x00,0x00],
                    [0x01,0x01,0x01,0x01,0x01,0x01,0x01,0xFF,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00]
                ],#平
        0xe5ae89:[
                    [0x80,0x90,0x8C,0x84,0x84,0x84,0xF5,0x86,0x84,0x84,0x84,0x84,0x94,0x8C,0x80,0x00],
                    [0x00,0x80,0x80,0x84,0x46,0x49,0x28,0x10,0x10,0x2C,0x23,0x40,0x80,0x00,0x00,0x00]
                ],#安
        0xe4b88a:[
                    [0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00],
                    [0x40,0x40,0x40,0x40,0x40,0x40,0x7F,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00]
                ],#上
        0xe8b7af:[
                    [0x00,0x3E,0x22,0xE2,0x22,0x3E,0x00,0x10,0x88,0x57,0x24,0x54,0x8C,0x00,0x00,0x00],
                    [0x40,0x7E,0x40,0x3F,0x22,0x22,0x00,0x01,0xFE,0x42,0x42,0x42,0xFE,0x01,0x01,0x00]
                ],#路
        0xe8bdbd:[
                    [0x90,0x94,0x94,0xF4,0x9F,0x94,0x94,0x94,0x10,0x10,0xFF,0x10,0x12,0xD4,0x10,0x00],
                    [0x20,0x26,0x25,0x24,0xFE,0x14,0x14,0x14,0x80,0x40,0x27,0x18,0x26,0x41,0xF0,0x00]
                ],#载
        0xe5b9b8:[
                    [0x20,0x20,0x24,0x24,0x64,0xA4,0x24,0x3F,0x24,0xA4,0x64,0x24,0x24,0x20,0x20,0x00],
                    [0x08,0x08,0x09,0x09,0x09,0x09,0x09,0xFF,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x00]
                ],#幸
        0xe7a68f:[
                    [0x08,0x09,0xCE,0xB8,0x08,0x00,0x02,0x7A,0x4A,0x4A,0x4A,0x4A,0x4A,0x7A,0x02,0x00],
                    [0x02,0x01,0xFF,0x00,0x03,0x00,0xFF,0x49,0x49,0x49,0x7F,0x49,0x49,0x49,0xFF,0x00]
                ],#福
        0xe59b9e:[
                    [0x00,0x00,0xFE,0x02,0x02,0xF2,0x12,0x12,0x12,0xF2,0x02,0x02,0xFE,0x00,0x00,0x00],
                    [0x00,0x00,0x7F,0x20,0x20,0x27,0x24,0x24,0x24,0x27,0x20,0x20,0x7F,0x00,0x00,0x00]
                ],#回
        0xe5aeb6:[
                    [0x10,0x2C,0x24,0x24,0xA4,0xA4,0x65,0xA6,0x24,0x24,0x24,0x24,0xA4,0x34,0x0C,0x00],
                    [0x40,0x49,0x49,0x29,0x24,0x14,0x52,0x89,0x7F,0x04,0x0A,0x11,0x10,0x20,0x20,0x00]
                ],#家
                       
        

    }
    #key 汉字的UTF-8码
    #isBottom 确定这次是获取 某个字的 上半部分（0） 还是下半部分（1）
    def get_chinese_utf8(self, key,isBottom = 0):
        values = self.UTF8_CHINESE[key]
        return values[isBottom]
